package com.doudou.dubbo.demo.po;

import java.io.Serializable;

/**
 * @author zhaozw
 * @version 1.0
 * @date 2025-07-10 19:57
 **/
public class Result<T> implements Serializable {

    private static final long    serialVersionUID = 1L;
    private              T       Data;
    private              boolean success;
    private              String  msg;

    public T getData() {
        return Data;
    }

    public void setData(T data) {
        Data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
